import { RequestData, POST } from '@/utils/request-data';

const requestData = Object.create(RequestData);

requestData.setBaseUrl('erp/dealer/other/logistics');

// 其他物流管理
export const logisticsAdd = params => requestData.base('/add', POST, params);
export const logisticsDelete = ids => requestData.base('/delete', POST, ids);
export const logisticsEdit = params => requestData.base('/edit', POST, params);
export const logisticsPage = params => requestData.base('/page', POST, params);
export const logisticsList = () => requestData.base('/list', POST);
export const logisticsRead = id => requestData.base(`/read/${id}`, POST);
